﻿using LPLS.DBEntities.OEEModule.OEEModels.DataStatisticModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBInterface.OEEModule.OEEModels.DataStaticsticModels
{
    public  interface IAlarmDataStatisticService:IDBBaseInterface
    {
        /// <summary>
        /// 查询数据
        /// </summary>
        /// <param name="devideid"></param>
        /// <param name="startTime"></param>
        /// <param name="endTime"></param>
        /// <returns></returns>
        List<AlarmDataStatistic> GetData(Guid  devideid,DateTime startTime,DateTime endTime);

        /// <summary>
        /// 添加数据
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        int AddData(AlarmDataStatistic data);

        /// <summary>
        /// 更新数据
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        int UpdateData(AlarmDataStatistic data);
        /// <summary>
        /// 删除数据根据设备ID
        /// </summary>
        /// <param name="devideid"></param>
        /// <returns></returns>

        int DeleteData(Guid  devideid);



       



    }
}
